package pro01;

public class PC {
	private CPU a;
	private HardDisk b;
	
	public void setCPU(CPU a) {
		this.a = a;
	}
	
	public void setHardDisk(HardDisk b) {
		this.b = b;
	}
	
	public void show() {
		System.out.println("CPU Speed:"+a.getSpeed());
		System.out.println("HardDisk Amount:"+b.getAmount()+"GB");
	}

}


